package com.example.flowermall.service;

import com.example.flowermall.entity.ProductImg;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoman
 * @since 2023-09-26
 */
public interface IProductImgService extends IService<ProductImg> {

    ProductImg getByProductId(Integer id);

    List<ProductImg> getListByProductId(Integer id);

    void add(ProductImg productImg);

    void deleteByProductId(Integer productId);

    List<ProductImg> getListByIntegralProductId(Integer productId);

    ProductImg getByIntegralProductId(Integer productId);

    void deleteByIntegralProductId(Integer productId);
}
